import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import '@/assets/global.less'

//  引入ElementUI 组件     
import ElementUI from 'element-ui';   
// 引入ElementUI 样式    
import 'element-ui/lib/theme-chalk/index.css';  

import axios from 'axios'
axios.defaults.baseURL = 'http://big-event-vue-api-t.itheima.net'

Vue.config.productionTip = false
Vue.prototype.$http = axios

// 注册ElementUI 
Vue.use(ElementUI )  


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')